from django.conf.urls.defaults import *
from tangerina import settings

urlpatterns = patterns('',
    # Example:
    # (r'^tangerina/', include('tangerina.foo.urls')),

    # Uncomment this for admin:
    # (r'^admin/', include('django.contrib.admin.urls')),
    (r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    ('^$', 'django.views.generic.simple.redirect_to', {'url': '/codingdojo/'}),
    (r'^codingdojo/', include('codingdojo.urls')),
)
